package com.hoshiicloud.user.service.partners;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.user.entity.partners.StorePartners;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 合作伙伴StorePartners 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface StorePartnersService extends IService<StorePartners> {

    StorePartners getById(Long id);

    StorePartners getByOrgcode(String orgcode);

    String insert(StorePartners entity);

    boolean updateById(StorePartners entity);

    Response getPage(IPage<StorePartners> page, Wrapper<StorePartners> queryWrapper, String key);
}
